package com.neuedu.service;

import com.neuedu.dto.PrescriptionList;
import com.neuedu.entity.Prescription;
import com.baomidou.mybatisplus.extension.service.IService;
import com.neuedu.vo.PrescriptionPayVo;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 * 处方表 服务类
 * </p>
 *
 * @author LiYang
 * @since 2024-11-19
 */
public interface PrescriptionService extends IService<Prescription> {

    Boolean add1(String content);
    Boolean add2(PrescriptionList data);
    List<Prescription> list (String caseNumber, String drugState);

    Boolean updateState(Integer[] ids);

    Object fayao(String caseNumber);

    Boolean update(Integer id);

    PrescriptionPayVo selectPay(String caseNumber, String checkState);

    Boolean refund(Integer[] ids);
}
